#ifndef _PARTHUS_HW_HABANERO_
#define _PARTHUS_HW_HABANERO_

/******************************************************************************
 * MODULE NAME:    hw_habanero.h
 * PROJECT CODE:    BlueStream
 * DESCRIPTION:    Habanero API
 * MAINTAINER:     Ivan Griffin
 * DATE:           20 March 2000
 *
 * SOURCE CONTROL: $Id: hw_habanero.h,v 1.5 2008/11/08 07:30:01 tianwq Exp $
 *
 * LICENSE:
 *     This source code is copyright (c) 2000-2004 Ceva Inc.
 *     All rights reserved.
 *
 * REVISION HISTORY:
 *    20 March 2000          IG           Initial Version
 *
 * NOTES TO USERS:
 ******************************************************************************/
#include "sys_config.h"
#include "sys_types.h"
#include "hw_hab_defs.h"                         /* All Habanero definitions */
#include "lslc_access.h" /* for t_frame_pos */

/***************************************************************************
 *
 * HWradio Interface Functions - these are declared in hw_radio.h
 * but defined in hw_habanero.c
 *
 * void HWradio_Initialise(void);
 * void HWradio_Reset(void);
 * void HWradio_Set_Syncword(t_syncword const);
 * void HWradio_Set_Rx_Mode(t_HWradio_Rx_Mode const rx_mode);
 *
 * void HWradio_Put_Slave_In_Full_Rx(void);
 * void HWradio_Put_Master_In_Double_Win(void);
 * void HWradio_Put_Slave_In_Double_Win(void);
 * void HWradio_Put_Device_In_TxRx(void);
 * void HWradio_Put_Device_In_Standby(void);
 * void HWradio_Handle_Multislot_Pkt(t_packet const pkt_type,
        t_frame_pos const frame_pos); 
 * void HWradio_Disable_Transmitter(void);
 * void HWradio_Enable_Transmitter(void);
 *
 ***************************************************************************/

/***************************************************************************
 *
 * HABANERO Specific Functions
 *
 ***************************************************************************/
#define HWhab_Set_Initial_Slicer_Level HWhab_Set_OCL_DC_Offset


/*
 * Interface Configuration Registers
 */
__INLINE__ void HWhab_Set_PHY_Cfg(const u_int32 magic_phy_value);

__INLINE__ u_int32 HWhab_Get_PHY_Cfg(void);


#ifdef __USE_INLINES__
#include "hw_habanero_impl.h"
#endif

#endif
